package com.syx.migration.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.syx.migration.domain.base.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 总括号管理对象 syx_bracket
 *
 * @author Syx
 * @date 2024-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("syx_bracket")
public class SyxBracket extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 总括号
     */
    private Long bracketNum;

    /**
     * 图书来源
     */
    private String source;

    /**
     * 凭证号
     */
    private Long voucherNumber;

    /**
     * 征订号id
     */
    private Long subscribeId;

    /**
     * 登记日期
     */
    private String registerTime;

    /**
     * 是否启用
     */
    private String isEnable;

    /**
     * 备注
     */
    private String remark;

    /**
     * 老系统征订号
     */
    @TableField(exist = false)
    private String oldSubscribeId;


}
